package com.zjw.video.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tag")
@Schema(name = "TagReqVO", description = "TagReqVO")
public class TagEntity {

    @Schema(description = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "标签名")
    private String name;

    @Schema(description = "描述")
    private String des;

    @Schema(description = "创建时间")
    private LocalDateTime createdDatetime;

    @Schema(description = "创建人")
    private String createdBy;

    @Schema(description = "更新时间")
    private LocalDateTime updatedDatetime;

    @Schema(description = "更新人")
    private String updatedBy;
}
